//
//  StorageInfo.h
//  danpin
//
//  Created by chuangjia on 1/12/2015.
//  Copyright © 2015 chuangjia. All rights reserved.
//

#import "BaseApi.h"

@interface StorageInfo : BaseApi
/*
 * 获取货架分类
 * method http://test1.danpin.com/shopstyle_api.php?type=category
 */

+ (void)getStoreRacksCategory:(NSDictionary*)params success:(void(^)(AFHTTPRequestOperation* operation, id result))success failure:(void(^)(NSError* error))failure;
/*
 * 获取货架分类对应数据
 * method http://test1.danpin.com/shopstyle_api.php?type=items&offset=0&sort=&category=&brand=&pagesize=1
 */


+ (void)getStoreRacksCategoryItems:(NSDictionary*)params success:(void(^)(AFHTTPRequestOperation* operation, id result))success failure:(void(^)(NSError* error))failure;
+ (void)getBrands:(NSDictionary*)params success:(void(^)(AFHTTPRequestOperation* operation, id result))success failure:(void(^)(NSError* error))failure;
+ (void)haveLove:(NSDictionary*)params success:(void(^)(AFHTTPRequestOperation* operation, id result))success failure:(void(^)(NSError* error))failure;
+ (void)searchhuojia:(NSDictionary*)params success:(void(^)(AFHTTPRequestOperation* operation, id result))success failure:(void(^)(NSError* error))failure;
@end
